
package com.ruoyi.system.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @TableName sys_leave
 */
@TableName(value ="sys_leave")
@Data
public class LeavesVo implements Serializable {

    private Long leaveId;
    private String leaveName;
    private String title;
    private Long days;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    private String reason;
    private String remark;
    private String proposer;
    private String leaveImg;
    private String status;
    private String createBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String updateBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    //任务
    private String taskId;
    private String taskName;
    private String taskAssignee;
    private String instanceId;
    private String flag;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}

